package com.amaxgs.attendancereport.ui;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JToolBar;
import javax.swing.JSplitPane;
import javax.swing.JTree;
import java.awt.CardLayout;

public class AttendanceForm extends JFrame
{

	private JPanel contentPane;
	private JPanel mainPanel = null;
	JSplitPane splitPaneNav = null;
	JPanel panelNavigation=null;
	JTree treeNavigation = null;
	JPanel panelContent = null;
	/**
	 * Launch the application.
	 */
	public static void main(String[] args)
	{
		EventQueue.invokeLater(new Runnable()
		{
			public void run()
			{
				try
				{
					AttendanceForm frame = new AttendanceForm();
					frame.setVisible(true);
				}
				catch (Exception e)
				{
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public AttendanceForm()
	{
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(
			10, 10, 61, 57);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(0, 0));
		setContentPane(contentPane);
		
		mainPanel = new JPanel();
		contentPane.add(mainPanel, BorderLayout.CENTER);
		mainPanel.setLayout(new BorderLayout(0, 0));
		
		splitPaneNav = new JSplitPane();
		mainPanel.add(splitPaneNav, BorderLayout.CENTER);
		
		panelNavigation = new JPanel();
		splitPaneNav.setLeftComponent(panelNavigation);
		panelNavigation.setLayout(new BorderLayout(0, 0));
		
		treeNavigation = new JTree();
		panelNavigation.add(treeNavigation, BorderLayout.CENTER);
		

	}
	public void getss()	{
		
	}
}
